package com.example.waibao.mapper;

import com.example.waibao.entity.User;
import com.example.waibao.entity.a_speciality;
import com.example.waibao.entity.school;
import com.example.waibao.entity.student;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface userMapper2 {
    List<User> get_users(int status,int school_id,String nick_name);

    List<student> get_all_student(int school_id, String name);

    int set_speciality(a_speciality speciality);

    void school_register(school school);

    void add_a_admin(User user);
}
